package com.woniuxy.lrz.carlproject.controller.form.formgoods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("新增/修改商品分类，接收前端传递参数")
public class GoodsCategoryAddOrUpdateForm {

    @ApiModelProperty("商品分类ID")
    private Integer goodCategoryId;

    @ApiModelProperty("分类名称")
    @NotBlank(message = "商品分类名称不能为空")
    private String goodCategoryName;
}
